$(function(){
	initmyEvaluate ();
	
	function initmyEvaluate (){
		var params = {
		userId: USERID,
	};
   	userCenterModule.myEvaluate(params,function(data) {
   		console.log(data);
   		var callBack = data;
		if(callBack != null) {
			var $hzHtml="";
			if(callBack.result==""){
				/*$hzHtml+='<li class="patient-comment" style="text-align: center;">'+
				'<img src="images/no-evaluate.png"/><p>暂无评论数据</p></li>';*/
				
				
			}else{
				$(".no-evaluate").hide();
				$(".title").show();
				$(".patient-commentlist").show();
				for(var i=0;i<callBack.length;i++){
					$hzHtml+='<li class="patient-comment doctor-evaluateList">'+
						'<a href="###">'+
							'<span class="patient-name">'+callBack[i].doctorName+'</span><span class="comment-xingxing comment-image'+callBack[i].score+'"></span><span class="evaluation-createtime">'+callBack[i].createtime+'</span>'+
							'<p class="font3">'+callBack[i].content+'</p>'+
						'</a></li>';
				}
			}
			$(".patient-commentlist").append($hzHtml);
		}
	});
		
		
		
	}
   
	
});	